footer.init();
header.init('提现');
app.ajax(
	'/Member/Shop/withdrawal_price',
	null,
	function(res){
		if(res.code == 200){
			app.tpl($('.money'),'tpl-money',res);
		}
	});
window.onload = function(){
	$('body').on('click','.toGetC',function(){//去提现
		 app.open('shop.withDrawals.html','shop_widthDrawals',{},window.location.href,document.body.scrollTop);
	});
	
	$('body').on('click','.getRecord',function(){
		app.open('shop.getCashRecord.html','shop_getCashRecord',{},window.location.href,document.body.scrollTop);
	});
	
	$('body').on('click','.getCash-explain',function(){
		layer.open({
			content:'提现规则说明：<br/>1）每次提现数额为100的整数倍<br/>2）请确保提现账号信息正确<br/>3）提交申请提现后，平台审核，一般1~2个工作日到账 <br/>4）如超过三个工作日未到账，请及时与我们客服联系',
			btn:['明白了'],
			shadeClose:false,
			yes:function(index){
				layer.close(index);
			}
		});
	});
}
